//
//  ViewController.m
//  01-UIView、UIWindow
//
//  Created by QC.L on 16/7/14.
//  Copyright © 2016年 QC.L. All rights reserved.
//

#import "ViewController.h"

#define WIDETH self.view.frame.size.width
#define HEIGHT self.view.frame.size.height
#define COLORAUTO [UIColor colorWithRed:(arc4random()%256/255.0) green:(arc4random()%256/255.0) blue:(arc4random()%256/255.0) alpha:1.0]
@interface ViewController ()

@end

@implementation ViewController
- (void)viewDidLoad {
    
}

- (IBAction)zhanghewei {
    self.lable.textColor = COLORAUTO;
    self.view.backgroundColor = COLORAUTO;
}


@end
